package common.post.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import common.customer.bean.Customer;

public class PostComment implements Serializable {

	/**
	 * 自动生成的version id
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private String content;
	private Customer customer;
	private Date publishTime;
	private Post post;
	private List<PostComment> postComments;
	private PostComment parent;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public Post getPost() {
		return post;
	}
	public void setPost(Post post) {
		this.post = post;
	}
	public List<PostComment> getPostComments() {
		return postComments;
	}
	public void setPostComments(List<PostComment> postComments) {
		this.postComments = postComments;
	}
	public PostComment getParent() {
		return parent;
	}
	public void setParent(PostComment parent) {
		this.parent = parent;
	}
}
